home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17189 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: news.cyberport.com!usenet
  2. From: tangent@cyberport.com (Warren Young)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Recommend a good advanced C++ book?
  5. Date: Sun, 14 Apr 1996 09:16:52 GMT
  6. Organization: none
  7. Message-ID: <3170c04f.308855801@news.cyberport.com>
  8. References: <4ke3cu$fdv@news.onramp.net> <4kgqog$5hp@sun0.urz.uni-heidelberg.de>
  9. NNTP-Posting-Host: ppp4.cyberport.com
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. pstarzet@ix.urz.uni-heidelberg.de (Paul Starzetz) wrote:
  13.  
  14. >The STL is not a 'legal' part of the C++ language (except for 
  15. >streams, I think) , so it is not very likely that you find a book for
  16.  
  17. Bet me.  It's been a part of the language since the January (?) draft
  18. standard, or maybe the previous one.  Plus, streams aren't part of
  19. STL.
  20.  
  21. >that STL was written in C++! For me I have the Watcom's STL online
  22. >documentation, and I think STL cannot be called 'standard', because it
  23. >varies from compiler to compiler! (e.g. under Watcom I haven't found
  24. >any (Binary)Tree-Classes, but Borland has one..., so, what is the STL?) 
  25.  
  26. You're probably talking about Borland's BIDS class library, and it has
  27. nothing to do with STL.  BIDS is simply Borland's container library,
  28. and it's completely proprietary.  Until recently, few compilers even
  29. _came_ with STL.  To get it, you can either FTP it from
  30. butler.hpl.hp.com or you can buy one of several commercial
  31. implementations.
  32.  
  33. As for "being different on every compiler", that will probably be
  34. increasingly true, but that doesn't make the implementations
  35. nonstandard.  The STL standard (as do so many other language
  36. standards) only gives the guarantees of interface and performance.
  37. Anything that falls into those guidelines is an acceptable
  38. implementation of STL.
  39.  
  40. Consider lowly printf() for example: does it matter how the function
  41. parses the formatting string?  No, the C standard only guarantees what
  42. the specifiers are, what they do, and so forth.  The same goes for
  43. STL.
  44.  
  45. = Warren --
  46.